Skip to content

np.int deprecated in numpy versions beyond 1.20, changed to np.int32#3

Open
chrism-qmul wants to merge 1 commit intomicrosoft:mainfrom
chrism-qmul:np_deprecated_fix
Open

np.int deprecated in numpy versions beyond 1.20, changed to np.int32#3
chrism-qmul wants to merge 1 commit intomicrosoft:mainfrom
chrism-qmul:np_deprecated_fix

Conversation

@chrism-qmul
Copy link

requirements.txt file specifies latest numpy version.
When running, an error occurs as np.int, referred to in task.py, has been deprecated in versions > 1.20.

This patch changes the instance of np.int to np.int32, resolving the issue. The alternative would be to fix the numpy version (<=1.20).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant